﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPSolutions.Samples.PickerApp
{
    /// <summary>
    /// Represent a city
    /// </summary>
	public class City
	{
        // Fields
        private string m_name;
        private string m_state;

        /// <summary>
        /// Create a city
        /// </summary>
        /// <param name="name"></param>
        /// <param name="state"></param>
        public City(string name, string state)
        {
            m_name = name;
            m_state = state;
        }

        /// <summary>
        /// Get or set the city name
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        /// <summary>
        /// Get or set the state
        /// </summary>
        public string State
        {
            get { return m_state; }
            set { m_state = value; }
        }
	}
}
